package org.platform.executor.knowledge;

import com.mc.mic.core.bus.provider.IMicProviderServiceExecutor;
import org.platform.mo.csmo.cmd10004.EventGroupModifyRequestParam;
import org.platform.mo.csmo.cmd10004.EventGroupModifyResponseParam;
import org.platform.service.knowledge.EventServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author FengJie
 * @date 2018/4/16
 */
@Service
public class ModifyEventGroupExecutor implements IMicProviderServiceExecutor<EventGroupModifyRequestParam, EventGroupModifyResponseParam> {
    @Autowired
    private EventServiceImpl service;

    @Override
    public EventGroupModifyResponseParam doExecute(EventGroupModifyRequestParam requestParam) {
        return service.modifyEventGroup(requestParam);
    }

}
